//
//  AlarmModel.m
//  CarLifes
//
//  Created by yu on 2017/6/30.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import "AlarmModel.h"

@implementation AlarmModel

- (id)mj_newValueFromOldValue:(id)oldValue property:(MJProperty *)property
{
    if (oldValue == [NSNull null]) {
        if ([oldValue isKindOfClass:[NSArray class]]) {
            return @[];
        } else if ([oldValue isKindOfClass:[NSDictionary class]]) {
            return @{};
        } else {
            return @"";
        }
    }
    return oldValue;
}

@end
